package org.scau.studentevaluation.client;

import org.scau.studentevaluation.entity.dos.AttendedStudentListDO;
import org.springframework.stereotype.Component;

import java.sql.SQLException;
import java.util.List;


/**
 * @Author: x1aolone
 * @Date: 2020/8/27 16:33
 */
@Component
public class AttendedStudentListClientHystrix implements AttendedStudentListClient {


    @Override
    public String deleteStudentsByActId(Long actId) {
        System.out.println("服务熔断");
        throw new RuntimeException();
    }

    @Override
    public int InsertAttendedStudent(List<AttendedStudentListDO> queryList) {
        return 0;
    }
}
